package com.study.designmodes.service.strategy.lmpl;

import com.study.designmodes.enums.BusinessCodeEnum;
import com.study.designmodes.enums.InsuranceCategoryEnum;
import com.study.designmodes.service.annotation.BusinessTaskAnnotation;
import org.springframework.stereotype.Service;

/**
 * 继承抽象类
 *
 * @author yangyanbin
 * @since 20221108
 **/
@Service
@BusinessTaskAnnotation(categoryCode = InsuranceCategoryEnum.DEFAULT, businessCode = BusinessCodeEnum.DEFAULT)
public class BusinessTaskServiceImpl extends AbstractBaseBusinessTaskService {
    /**
     * @param taskName
     * @Description: 处理任务（公共的）
     * @Param: []
     * @return:
     */
    @Override
    public void handleBusinessTask(String taskName) {
        System.out.println("我是普通类需要重写接口中的方法-处理任务（公共的）");
    }
}
